package com.bird.设计模式.创建型.抽象工厂;

/**
 * @data 2022/2/13 16:10
 * @author: bird
 * @description: python课程工厂：实际的创建工厂 专门用来生产python视频和python文章手记
 */
public class PythonCourseFactory implements CourseFactory {
    @Override
    public Video getVideo() {
        return new PythonVideo();
    }

    @Override
    public Article getArticle() {
        return new PythonArticle();
    }
}
